<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>卖</title>
</head>
<style>
    .div-input{
        margin-top: 1%;
        margin-left: 20%;
    }
</style>
<body>
<form  method="post" id="tradeSellForm">

    <div class="div-input">
        <label class="left f14" >商品</label>
        <select style="width: 50%" class="ui-visible" name="goodId"  th:each="info,infoStat:${goods}">
            <option th:value="${info.id}" th:text="${info.name}"></option>
        </select>
    </div>
    <div class="div-input">
        <label class="left f14" >价格</label>
        <input type="number"  class="ui-input" size="50" name="price" placeholder="" required>&nbsp元
    </div>
    <div class="div-input">
        <label class="left f14" >数量</label>
        <input type="number"  class="ui-input" size="18" name="amount" placeholder="" required>*100(个)
    </div>
    <div class="div-input">
        <input type="hidden" id="button" onclick="sendJump('/trade/insert','/trade/sellList',null,'tradeSellForm')"  />
    </div>
    <input name="type" value="2" type="hidden">
</form>
</body>

</html>